package com.meietling.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LING
 * MVC处理器
 * 代替spring中的Servlet实现类，由DispatcherServlet（即中央调度器）统一调度
 */
@Controller
@RequestMapping(value = "/one")
public class OneController {

    @RequestMapping(value = "/test1.do")
    public String test1(int id,int score,String name){
        System.out.println(id+"\n");
        System.out.println(score);
        System.out.println(name);
        return "/123.html";
    }
}
